package creation.factorymethod.common;

/**
 * 场景类
 *
 * @author wangjinqiang
 * @date 2019-08-04
 */
public class Client {

    public static void main(String[] args) {
        Creator creator = new ConcreteCreator();
        ConcreteProduct2 result = creator.createProduct(ConcreteProduct2.class);
        // 继续业务处理
        System.out.println(result);
    }
}
